#include "ScopedLock.h"
#include "Mutex.h"

namespace Core
{
	rtScopedLock::rtScopedLock(rtMutex& m):m_lock(m) 
	{
		m_lock.lock();
	}


	rtScopedLock::~rtScopedLock(void)
	{
		m_lock.unlock();
	}
}

